package com.huangliusong.desigin.pattern.creational.builder;

/**
 * @author huangliusong
 * @since 2018/10/10
 * {@link CourseBuilder}
 */
public class CourseActualBuilder extends CourseBuilder {
    private Course course=new Course();
    public void builderCourseName(String courseName) {
        course.setCourseName(courseName);
    }

    public void builderCoursePPT(String coursePPT) {
        course.setCoursePPT(coursePPT);
    }

    public void builderCourseVideo(String courseVideo) {
        course.setCourseVideo(courseVideo);
    }

    public void builderCourseArticle(String courseArticle) {
        course.setCourseArticle(courseArticle);
    }

    public void builderCourseOA(String courseOA) {
        course.setCourseOA(courseOA);
    }

    public Course makeCourse() {
        return course;
    }
}
